package trlygjj.tanruiliyigenjinjin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class CustomerFollowRecord {

    public static final int NOT_AUDIT =0;
    public static final int ALREADY_AUDIT =1;




    //跟踪的客户id
    private Long id;
    //客户的名字
    private String name;

    private String email;

    private String qq;

    private String tell;
    //与客户的联系形式
    private Integer currentState;
    //跟踪人
    private Employee follower;
    //最后一次的跟踪时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastFollowDate;
    //客户毕业的学校
    private String school;
    //意向班级
    private DataDictionaryItem interestClass;
    //意向程度
    private DataDictionaryItem interestDegree;
    //交流的目的
    private DataDictionaryItem communicationPurpose;
    //交流的方式
    private DataDictionaryItem communicationMode;
    //下次交流的时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone ="GMT+8", pattern = "yyyy-MM-dd")

    private Date nextFollowDate;
    //跟踪的次数
    private int followTimes;
    //审核人
    private Employee auditer;
    //审核时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone ="GMT+8", pattern = "yyyy-MM-dd")
    private Date auditDate;
    //审核状态
    private int auditState;
    //摘要
    private String summary;
    //交流的内容
    private String communicationContent;
    //跟踪时长
    private String followTimeLength;

    //follow_time_length
}